﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true"
    CodeFile="SupplierDetail.aspx.cs" Inherits="BasicInfo_SupplierDetail" CodeFileBaseClass="Frame.Pages.DetailEditPage" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript" src="../Scripts/ToChineseSpell.js"></script>
    <script type="text/javascript" src="../Scripts/EnterAsTab.js"></script>
    <script type="text/javascript">

        //下拉框多选
        var textSeparator = ";";
        function OnListBoxSelectionChanged(listBox, args) {
            UpdateText();
            //UpdateValue();
        }
        function UpdateValue() {
            var texts = checkComboBox.GetText().split(textSeparator);
            var values = GetValuesByTexts(texts);
            checkComboBox.SetValue(values.join(textSeparator));
        }
        function UpdateText() {
            var selectedItems = checkListBox.GetSelectedItems();
            checkComboBox.SetText(GetSelectedItemsText(selectedItems));
        }
        function SynchronizeListBoxValues(dropDown, args) {
            checkListBox.UnselectAll();
            var texts = dropDown.GetText().split(textSeparator);
            var values = GetValuesByTexts(texts);
            checkListBox.SelectValues(values);
            UpdateText(); // for remove non-existing texts
        }
        function GetSelectedItemsText(items) {
            var texts = [];
            for (var i = 0; i < items.length; i++)
                if (items[i].index != -1)
                    texts.push(items[i].text);
            return texts.join(textSeparator);
        }
        function GetValuesByTexts(texts) {
            var actualValues = [];
            var item;
            for (var i = 0; i < texts.length; i++) {
                item = checkListBox.FindItemByText(texts[i]);
                if (item != null)
                    actualValues.push(item.value);
            }
            return actualValues;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
        </div>
        <dx:ASPxRoundPanel ID="Detailpanel" HeaderText="厂商信息" runat="server" View="GroupBox"
            CssFilePath="~/App_Themes/Aqua/{0}/styles.css" CssPostfix="Aqua" GroupBoxCaptionOffsetY="-28px"
            SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css">
            <ContentPaddings Padding="14px" />
            <PanelCollection>
                <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                    <table border="0px" cellspacing="10" cellpadding="10" class="table10">
                        <tr class="split">
                            <td colspan="4">
                                基本信息
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 150px;">
                                厂商编码：
                            </td>
                            <td style="width: 250px; text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_csbm" ClientInstanceName="cv_csbm" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="10">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab()}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td style="width: 150px;">
                                厂商名称：
                            </td>
                            <td style="width: 250px; text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_csmc" ClientInstanceName="cv_csmc" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="40">
                                    <ValidationSettings CausesValidation="true">
                                        <RequiredField ErrorText="厂商名称不可为空！" IsRequired="true"></RequiredField>
                                    </ValidationSettings>
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                    <ClientSideEvents LostFocus="function(s,e){cv_zjm.SetText(makePy(cv_csmc.GetText()))}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                活动标志：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxComboBox ID="Edit_hdbz" runat="server" ClientInstanceName="cv_hdbz" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Width="200px" Height="22px" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                    <Items>
                                        <dx:ListEditItem Text="活动" Value="A" Selected="true" />
                                        <dx:ListEditItem Text="暂停" Value="Z" />
                                    </Items>
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                厂商类型：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxComboBox ID="Edit_cslx" runat="server" ClientInstanceName="cv_cslx" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Width="200px" Height="22px" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                    <Items>
                                        <dx:ListEditItem Text="自营" Value="A" Selected="true" />
                                        <dx:ListEditItem Text="专柜" Value="B" />
                                    </Items>
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                助记码：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_zjm" ClientInstanceName="cv_zjm" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                企业性质：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_qyxz" ClientInstanceName="cv_qyxz" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                法人代表：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_frdb" ClientInstanceName="cv_frdb" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="10">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                注册资本：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_zczb" ClientInstanceName="cv_zczb" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                公司地址：
                            </td>
                            <td colspan="3" style="text-align: left;">
                                <dx:ASPxMemo ID="Edit_gsdz" ClientInstanceName="cv_gsdz" runat="server" Height="60px"
                                    Width="85%">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxMemo>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                公司邮编：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_gsyb" ClientInstanceName="cv_gsyb" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="6">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                Email：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_email" ClientInstanceName="cv_email" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="50">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                税号：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_nsrdjh" ClientInstanceName="cv_nsrdjh" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="30">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                开户银行：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_khyh" ClientInstanceName="cv_khyh" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="40">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                开户帐号：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_khzh" ClientInstanceName="cv_khzh" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="30">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                负责人：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_fzr" ClientInstanceName="cv_fzr" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="10">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                负责人电话：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_fzrdh" ClientInstanceName="cv_fzrdh" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                联系人：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_lxr" ClientInstanceName="cv_lxr" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="10">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                联络地址：
                            </td>
                            <td colspan="3" style="text-align: left;">
                                <dx:ASPxMemo ID="Edit_lxdz" ClientInstanceName="cv_lxdz" runat="server" Height="60px"
                                    Width="85%">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxMemo>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                联络邮编：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_lxyb" ClientInstanceName="cv_lxyb" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="6">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                联系人职位：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_lxrzw" ClientInstanceName="cv_lxrzw" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="40">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                联系人电话：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_lxrdh" ClientInstanceName="cv_lxrdh" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                联系人传真：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox runat="server" ID="Edit_lxrcz" ClientInstanceName="cv_lxrcz" Width="200px"
                                    Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                备注：
                            </td>
                            <td colspan="3" style="text-align: left;">
                                <dx:ASPxMemo ID="Edit_bz" ClientInstanceName="bz" runat="server" Height="60px" Width="85%">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxMemo>
                            </td>
                        </tr>
                        <tr class="split">
                            <td colspan="4">
                                负责人信息
                            </td>
                        </tr>
                        <tr>
                            <td>
                                负责人：
                            </td>
                            <td colspan="3" style="text-align: left;">
                                <dx:ASPxDropDownEdit ClientInstanceName="checkComboBox" ID="Edit_user" Width="300px"
                                    runat="server" EnableAnimation="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <DropDownWindowTemplate>
                                        <dx:ASPxListBox ID="listBox" Width="100%" ClientInstanceName="checkListBox" SelectionMode="CheckColumn"
                                            runat="server" DataSourceID="SqlDataSourceMain" TextField="ryxm" ValueField="rybm">
                                            <Border BorderStyle="None" />
                                            <BorderBottom BorderStyle="Solid" BorderWidth="1px" BorderColor="#DCDCDC" />
                                            <ItemStyle HorizontalAlign="Left" />
                                            <Items>
                                            </Items>
                                            <ClientSideEvents SelectedIndexChanged="OnListBoxSelectionChanged" />
                                        </dx:ASPxListBox>
                                    </DropDownWindowTemplate>
                                    <ClientSideEvents TextChanged="SynchronizeListBoxValues" DropDown="SynchronizeListBoxValues" />
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){key=9;}}" />
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                </dx:ASPxDropDownEdit>
                            </td>
                        </tr>
                        <tr class="split">
                            <td colspan="4">
                                结算信息
                            </td>
                        </tr>
                        <tr>
                            <td>
                                结算方式：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxComboBox Enabled="false" ID="Edit_jsfs" runat="server" ClientInstanceName="cv_jsfs"
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                    Width="200px" Height="22px" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                    <Items>
                                        <dx:ListEditItem Text="抽单结算" Value="D" />
                                        <dx:ListEditItem Text="扣率结算" Value="K" />
                                    </Items>
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxComboBox>
                            </td>
                            <td>
                                扣率方式：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxComboBox Enabled="false" ID="Edit_klfs" runat="server" ClientInstanceName="cv_klfs"
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                    Width="200px" Height="22px" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                    </LoadingPanelImage>
                                    <LoadingPanelStyle ImageSpacing="5px">
                                    </LoadingPanelStyle>
                                    <ButtonStyle Width="13px">
                                    </ButtonStyle>
                                    <Items>
                                        <dx:ListEditItem Text="按商品扣率" Value="S" />
                                        <dx:ListEditItem Text="按厂商扣率" Value="C" />
                                    </Items>
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                结算扣率：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox Enabled="false" runat="server" ID="Edit_jskl" ClientInstanceName="cv_jskl"
                                    Width="200px" Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                保底金额：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox Enabled="false" runat="server" ID="Edit_bdje" ClientInstanceName="cv_bdje"
                                    Width="200px" Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                帐期：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox Enabled="false" runat="server" ID="Edit_zq" ClientInstanceName="cv_zq"
                                    Width="200px" Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                生效合同编号：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox Enabled="false" runat="server" ID="Edit_htbh" ClientInstanceName="cv_htbh"
                                    Width="200px" Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                        <tr class="split">
                            <td colspan="4">
                                付款方式扣率信息
                            </td>
                        </tr>
                        <tr>
                            <td>
                                付款方式：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox Enabled="false" runat="server" ID="Edit_fkfs" ClientInstanceName="cv_fkfs"
                                    Width="200px" Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td>
                                扣率：
                            </td>
                            <td style="text-align: left;">
                                <dx:ASPxTextBox Enabled="false" runat="server" ID="Edit_kl" ClientInstanceName="cv_kl"
                                    Width="200px" Height="22px" Font-Size="Small" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                    CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" MaxLength="20">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){EnterAsTab();}}" />
                                </dx:ASPxTextBox>
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <dx:ASPxButton ID="SubmitBtn" Font-Size="Small" runat="server" Text="提交" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    OnClick="SubmitBtn_Click">
                                </dx:ASPxButton>
                            </td>
                            <td>
                                <dx:ASPxButton ID="CancelBtn" Font-Size="Small" runat="server" Text="取消" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                    CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                    CausesValidation="False" OnClick="CancelBtn_Click">
                                </dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                </dx:PanelContent>
            </PanelCollection>
        </dx:ASPxRoundPanel>
        <asp:SqlDataSource ID="SqlDataSourceMain" ConnectionString="<%$ ConnectionStrings:CMSConnectionString %>"
            SelectCommand="SELECT * FROM css_user" runat="server" ProviderName="<%$ ConnectionStrings:CMSConnectionString.ProviderName %>">
        </asp:SqlDataSource>
    </div>
</asp:Content>
